package com.it.service;


import com.it.pojo.DDepartment;

import java.util.List;

public interface DDepartmentService {
    //查询所有
    List<DDepartment> DDepartmentQueryAll();
    //根据id查询
    DDepartment DDepartmentById(Integer id);
    //根据科室名查询
    List<DDepartment> DDepartmentLikeName(String name);
    //新增科室
    int addDDepartment(DDepartment dDepartment);
    //修改科室
    int updateDDepartment(DDepartment dDepartment);
    //删除科室
    int deleteDDepartment(Integer id);
}
